<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title><?php echo $title; ?></title>
<link type="text/css" rel="stylesheet"
	href="<?php echo base_url()?>css/common.css" />
<?php 
foreach ($css as $_css):
echo $_css;
endforeach;
?>
<script type="text/javascript" src="<?php echo base_url()?>js/jquery.js"></script>
<script type="text/javascript"
	src="<?php echo base_url()?>js/effects-20090707.js"></script>
<script type="text/javascript"
	src="<?php echo base_url()?>js/jquery-validate.js"></script>
</head>
<body>
	<table border='0' bgcolor="#8EB4E3" height=100 class="Header">
		<tr>
			<td><i><font size="40" color="#fff">健康之家</font> </i></td>
		</tr>
		<?php
		if(is_user_login_state()){
			echo "<form action=".site_url("search/do_search")." target='rgt'>";
			echo "<tr>";
				echo "<td></td>";
				
				echo "<td align=right style='padding-right:2cm;'>";
				$input = array(
						"name"=>"searchKW",
						"style"=>"margin-right:20px"
				);
				echo form_input($input);
				echo form_submit("submit", "搜索");
				echo "</td>";

			echo "</tr>";
			echo form_close();
		}
		?>
	</table>